package com.caishi.lkx.user.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author by keray
 * date:2021/4/6 3:30 下午
 */
@ConfigurationProperties(prefix = "third.oauth")
@Configuration(proxyBeanMethods = false)
@Getter
@Setter
public class ThirdOauthConfig {
    //微信web应用
    private String weCatWebAppId;
    private String weCatWebAppSecret;
    private String weCatWebAccessTokenUrl;
    private String weCatWebRefreshAccessTokenUrl;
    private String weCatWebUserInfoUrl;

    /* 微信移动应用配置 */
    private String weCatAppId;
    private String weCatAppSecret;
    private String weCatRedirectUrl;
    private String weCatGetUserInfoUrl;
    private String weCatAccessTokenUrl;
    private String weCatRefreshTokenUrl;
    private String weCatVerifyTokenIsValidUrl;
    /*微信小程序应用配置*/
    private String weCatXcxAppid;
    private String weCatXcxSecret;
    private String weCatXcxSessionTokenUrl;
    private String weCatXcxAccessTokenUrl;
    private String weCatXcxQRCodeUrl;
    /* qq web应用 */
    private String qqWebAppId;
    private String qqWebAppSecret;
    private String qqWebAccessTokenUrl;
    private String qqWebRedirectUrl;
    private String qqWebRefreshAccessTokenUrl;
    private String qqWebOpenIdUrl;
    private String qqWebUserInfoUrl;
    private String qqWebUnionId;

    private String qqAppId;
    private String qqAppSecret;
    private String qqAccessTokenUrl;
    private String qqRedirectUrl;
    private String qqRefreshAccessTokenUrl;
    private String qqOpenIdUrl;
    private String qqUserInfoUrl;
    private String qqUnionId;
    private String carsiClientId;
    private String carsiWAYFlessUrl;
    private String carsiClientSecret;
    private String carsiAuthorizeUrl;
    private String carsiTokenUrl;
    private String carsiResourceUrl;
}
